package com.info.zhiduoduo.repository.dto.report;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class UnfinishedInvoiceCountDto {

	/** 普票待开数量 */
	private int genCount;
	/** 专票待开数量 */
	private int speCount;
	/** 策略性开票待开数量 */
	private int strategyCount;
	/** 标准内未开税户待开票数量 */
	private int unTaxAcctStandardCount;
	/** 标准内已开税户待开票数量 */
	private int taxAcctStandardCount;
	/** 标准外未开税户待开票数量 */
	private int unTaxAcctUnstandardCount;
	/** 标准外已开税户待开票数量 */
	private int taxAcctUnstandardCount;

	public void add(UnfinishedInvoiceCountDto other) {
		this.genCount += other.genCount;
		this.speCount += other.speCount;
		this.strategyCount += other.strategyCount;
		this.unTaxAcctStandardCount += other.unTaxAcctStandardCount;
		this.taxAcctStandardCount += other.taxAcctStandardCount;
		this.unTaxAcctUnstandardCount += other.unTaxAcctUnstandardCount;
		this.taxAcctUnstandardCount += other.taxAcctUnstandardCount;
	}

}
